﻿using System.ServiceProcess;
using NotWindowsStoreClient.Lib;

namespace NotWindowsStoreClient.Service
{
    public partial class NotWindowsStore : ServiceBase
    {
        private WindowsStoreClientService _service;

        public NotWindowsStore()
        {
            InitializeComponent();
        }

        protected override void OnStart(string[] args)
        {
            _service = new WindowsStoreClientService();
            _service.Start();
        }

        protected override void OnStop()
        {
            _service.Stop();
        }
    }
}
